#include "driver/gpio.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include <stdio.h>

#define LED_PIN 15

#define LED_ON  1
#define LED_OFF 0

void app_main(void)
{
	gpio_reset_pin(LED_PIN);
	gpio_set_direction(LED_PIN, GPIO_MODE_OUTPUT);

	while (1) {
		gpio_set_level(LED_PIN, LED_ON);
		vTaskDelay(500 / portTICK_PERIOD_MS);

		gpio_set_level(LED_PIN, LED_OFF);
		vTaskDelay(500 / portTICK_PERIOD_MS);
	}
}
